//define the frame detail
Ext.define('framenet.view.frameDetail', {
	extend: 'Ext.form.Panel',

	constructor: function(cfg) {
        var me = this;
        cfg = cfg || {};
        me.callParent([Ext.apply({
            framePanel: cfg.framePanel,
        	store: cfg.store,
        	autoShow: true,
    	    region: 'south',
    	    height: 'auto',
    	    cmargins: '5 0 0 0',
            closable: true,
            closeAction: 'hide',
            listeners: {
            	beforeclose: function() {
            		me.framePanel.beforecloseDetail();
            	}
            }                        
        }, cfg)]);
    }
});
